Change the shape and
display of polyline objects with polyline editing options. You can
also join separate polylines.
For
example, modify polylines in several ways using PEDIT, the Properties palette,
or grips.
- Move, add, or delete individual vertices
- Set a uniform width for the entire polyline
or control the width of each segment
- Create an approximation of a spline called
a spline-fit
polyline
- Display noncontinuous linetypes with
or without a dash before and after each vertex
- Change the orientation of text in a polyline’s
linetype by reversing its direction
Modify Polylines with Multi-Functional
Grips
Polyline
grips are multi-functional, providing context-sensitive options
for reshaping the polyline. Polyline segments have additional multi-functional grips
displayed at their midpoints. Control the display of these grips
with the GRIPS system variable.
NoteMulti-functional
grips also support the standard Grip modes (Stretch, Move, Rotate,
Scale, and Mirror). For information on working with multi-functional
grips, see
Modify Objects with Multi-Functional Grips.
The multi-functional
grip-editing options that are available for polylines depend on
- The grip’s location (vertex or midpoint)
- The segment type (line or arc)
- The type of Polyline (standard, curve-fit,
or spline-fit)
Polyline multi-functional grip editing options
Modify a Segment Within
a Polyline
To
select individual segments (or subobjects)
of a polyline, press Ctrl while clicking the segments. Use Grip
modes and multi-functional grip-editing options to modify the polyline
segments. The GRIPSUBOBJMODE system variable
controls whether grips are automatically made hot when subobjects are
selected.
You can modify the width
of individual segments with the Properties palette. Changing any
other property for a polyline segment affects the entire polyline.
Modify Polylines with Coincident
Grips
Coincident grips are grips that are shared between
multiple objects. When polyline objects sharing the same grip are
selected together, multi-functional grip-editing options are not
supported for the coincident grip. However, you can still edit the
coincident grip using the standard Grip modes (Stretch, Move, Rotate,
Scale, and Mirror).
NoteMulti-functional
grip-editing options for coincident grips are supported when only
one of the polyline objects is selected.
Join Polyline Segments
You
can join a line, an arc, or another polyline to an open polyline
if their ends connect or are close to each other.
If the ends are not coincident
but are within a distance that you can set, called the fuzz
distance, the ends are joined by either trimming them,
extending them, or connecting them with a new segment.
Spline-fit polylines
return to their original shape when joined. Polylines cannot be
joined into a Y shape.
If
the properties of several objects being joined into a polyline differ,
the resulting polyline inherits the properties of the first object
that you selected.
To modify a polyline
- Select the polyline to modify.
NoteTo
select a single arc or line segment, press Ctrl while clicking the
segment.
If the selected object is a spline, line, or
an arc, the following prompt is displayed:
Object selected is not a polyline.
Do you want it to turn into one? <Y>: Enter y or n, or
press Enter
If you enter y, the object
is converted into a single-segment 2D polyline that you can edit.
Before the selected spline
is converted to a polyline, the following prompt is displayed:
Specify a precision <10>: Enter
a new precision value or press Enter
The PLINECONVERTMODE system variable
determines whether the polylines are created with linear or arc
segments. When the PEDITACCEPT system variable
is set to 1, this prompt is suppressed, and the selected object
is automatically converted to a polyline.
- Edit the polyline by entering one or
more of the following options:
- Enter c (Close) to
create a closed polyline.
- Enter j (Join) to
join contiguous lines, splines, arcs, or polylines.
- Enter w (Width) to
specify a new uniform width for the entire polyline.
- Enter e (Edit Vertex)
to edit a vertex.
- Enter f (Fit) to create
an arc-fit polyline, a smooth curve consisting of arcs joining each
pair of vertices
- Enter s (Spline) to
create an approximation of a spline.
- Enter d (Decurve)
to remove extra vertices inserted by a fit or spline curve and to
straighten all segments of the polyline.
- Enter L (Ltype Gen)
to generate the linetype in a continuous pattern through the vertices
of the polyline.
- Enter r (Reverse)
to reverse the order of vertices of the polyline.
- Enter u (Undo) to
reverse actions back to the start of PEDIT.
- Enter x (Exit) to
end a command option. Press Enter to exit the PEDIT command.
To reverse lines, polylines,
splines, or helixes
-
- Select a line, polyline, spline, or helix
to reverse.
- Press Enter to end the command.
To join polylines, splines,
lines, and arcs into a single polyline
- Select a polyline, spline, line, or arc
to edit. If you selected a spline, line, or arc, press Enter to
convert the selected object into a polyline.
- Enter j (Join).
- Select one or more polylines, splines,
lines, or arcs that are located end to end.
Each selected polyline, spline, line, or arc
is now joined into a single polyline.
- Press Enter to end the command.
To delete a vertex in a
polyline
- Select a polyline.
- Enter e (Edit vertex).
The first vertex is marked with an X. Use the
Next option to move the X to the vertex preceding the one that you
want to delete.
- Enter s (Straighten).
- Use the Next option to move the X to
the vertex immediately following the one that you want to delete.
- Enter g (Go).
The vertex on the polyline is deleted. The vertices
on either side of the deleted vertex are joined by a straight polyline
segment.
- Enter x (Exit) to
end editing vertices.
- Press Enter to end the command.
To taper the width of individual
polyline segments
- Select the polyline to edit.
- Enter e (Edit Vertex).
The first vertex is marked with an X. Move to
the appropriate vertex with Next or Previous.
- Enter w (Width).
- Enter new starting and ending widths,
and press Enter to move to the next vertex. Repeat steps 4 and 5
for each segment.
- Enter u (Undo) to
reverse actions back to the start of PEDIT.
- Enter x (Exit) to
end editing vertices.
- Press Enter to end the command.
CommandsPEDIT
Edits
polylines and 3D polygon meshes.
JOIN
Joins similar objects
to form a single, unbroken object.
REVERSE
Reverses the vertices
of selected lines, polylines, splines, and helixes, which is useful
for linetypes with included text, or wide polylines with differing beginning
and ending widths.
System VariablesGRIPS
Controls the color of
selected grips.
GRIPMULTIFUNCTIONAL
Specifies the access
methods to multi-functional grips.
GRIPSUBOBJMODE
Controls whether grips
are automatically made hot when subobjects are selected.
PEDITACCEPT
Suppresses display of
the Object Selected Is Not a Polyline prompt in PEDIT.
PLINECONVERTMODE
Specifies the fit method
used in converting splines to polylines.
SPLINESEGS
Sets the number of line
segments to be generated for each spline-fit polyline generated
by the Spline option of the PEDIT command.
SPLINETYPE
Sets the type of curve
generated by the Spline option of the PEDIT command.
SURFTYPE
Controls the type of
surface-fitting to be performed by the Smooth option of the PEDIT
command.
SURFU
Sets the surface density
for PEDIT Smooth in the M direction and the U isolines density on
surface objects.
SURFV
Sets the surface density
for PEDIT Smooth in the N direction and the V isolines density on
surface objects.